package com.book.system.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {


    private static final long serialVersionUID = 1L;

    private Integer id;

    private String name;


    private String username;


    private String password;


    private String sex;

    private LocalDate birth;

    private String address;


    private String phone;


    private Integer flag;
}